home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / TOOLBOOK / IDC136.ZIP / SAMPLER.ZIP / SYS136.TBK (.txt) < prev   
Asymetrix ToolBook File  |  1993-12-16  |  46KB  |  974 lines

  1. Times New Roman
  2. IDC Compiler Handlers
  3. Times New Roman
  4. Times New Roman
  5. Times New Roman
  6. iuSjoNqyA
  7. Times New Roman
  8. selectPage
  9. saveNewBook
  10. deleteCompile
  11. changeCursor
  12. saveNewBook
  13. Name of new book
  14. Cancel
  15. changeCursor
  16. $Common$
  17. 7deleteCompile
  18. [fixBookScript
  19. newBook
  20. inputFile
  21. backgrounds
  22. remote
  23. deleteCompile
  24. changeCursor
  25. selectPage
  26. clear
  27. compilePages
  28. changeCursor
  29. Version
  30. C:\KEN\IDC\COMPILER\SYS136.TBK
  31. rightbuttondoubleClick
  32. B"filescripts"
  33. rightbuttondoubleClick
  34. rightbuttondoubleClick
  35. filescripts
  36. Version
  37. Interactive Document Compiler Version 1.3601 Compiler
  38. :PHYSSIZE
  39. This is a System Book used by the IDC Compiler.
  40.   It has no useful independent functionality.
  41. sysSuspendMessages 
  42. buttonUp
  43. buttonUp
  44. Resolution
  45. Screen resolution is 800 x 6008
  46. filescripts
  47. ~(".",n)
  48. n & ".scr"
  49. filescripts 
  50. buttonUp
  51. buttonUp
  52. filescripts
  53. File Scripts
  54. -- Standard handlers 
  55. the Interactive Document Compiler
  56. -- Handlers used 
  57. independently.
  58. setupWindow 
  59. B"filescripts"
  60. "Version" 
  61. path(
  62. & "utility.tbk"
  63. ~("\",f) 
  64. filename f
  65. ~("\",f) 
  66. Vi+1 
  67. -- Shared 
  68. display
  69.     -- VGA = 648 x 488 SVGA = 808 x 608
  70.     linkDLL "tbkwin.dll"
  71.         INT HorizontalDisplayRes()
  72. VerticalDisplayRes()
  73. 2es() 
  74.     unlinkDLL "
  75. "Screen resolution 
  76. " && h && "x" && v 
  77. "Resolution"
  78. sizePage "
  79. 480 -- 
  80.         -- full 
  81. fno title bar & no border
  82.         -- 
  83. -4, -24, 644, 484
  84.         -- 
  85. -4, -4, 644, 484
  86.         -- 
  87.         -- 
  88. 0, 0, 640, 480
  89. 600 -- 
  90.         -- 
  91. centred
  92. 76, 56, 724, 544
  93.         -- 
  94. screen
  95. E(h,v,640,480)
  96. d h,v,wh,wv
  97. (h-wh)/2-4
  98. (v-wv)/2-4
  99.     -- sizes 
  100. ensure that 
  101. /colour still fills 
  102. 12960,8640 -- 9.0
  103. x 6.0
  104. 12960,9040 -- 9.0
  105. x 6.0?
  106. "VGA"
  107. 9792,7200 -- 6.8
  108. x 5.0
  109. Error "
  110. setting up 
  111. (IDC error:" && p &&")"
  112. saveNewBook
  113. 4newBook,inputFile,backgrounds,remote,destinationpath
  114. ~(".",
  115. O & "
  116. _ & "\" & 
  117. ("Name 
  118. "Cancel" 
  119.     -- Setup 
  120. changeCursor
  121. "$Master$" 
  122. "Label" 
  123. x"$Common$" 
  124. --            
  125. deleteCompile
  126. fixBookScript
  127. 4compilePages
  128. selectPage
  129. setconstants
  130. 4formats,headings,rogue,
  131. ,close,endchar,ero,refc
  132. 4note_symbol,noendreq,components
  133. 4active_tag,note_tag,dest_attr,remark_tag,para_tag,blank_tag,distractor_tag
  134. 4emphasis_tag,list_tag,item_tag
  135. 4tags,entities
  136. "amp &,lt <,gt >"
  137. tthree 
  138.  should be given their correct SGML names
  139.     -- This 
  140. a value 
  141. p/can never occur 
  142. standard hypertext 
  143. "emp"
  144. "f0,f1,f2,f3,f4,f5,f6,f7,f8,f9"
  145. "h1,h2,h3,h4,h5"
  146. ,body,
  147. ,,credits,
  148. r,doc,copyright,help" & "," & 
  149.  & "," & 
  150. localtags 
  151. setoptions
  152. 4estyle,ecase,pstyle,bullet,anchorstyle,hstyle,hcase,hbefore,hafter
  153. 4resourcesindex,defaultfile,
  154. ,optionsFile
  155. "Formats" 
  156. "$Options$"
  157. b & CRLF 
  158.  > 0 
  159. "Shell"
  160. setdefaults
  161. ~(".",f)
  162. "\" & f & ".opt" 
  163. getOptions 
  164. "boxed"
  165. "unchanged"
  166. "newline"
  167. "dash"
  168. ,sentence,
  169. sysErrorNumber <> 0 
  170. ~("=",
  171. "$TextOptions"
  172. saveOptions f
  173. subindex,
  174.  & "/" & 
  175.  & "/" & 
  176.  & "/" & 
  177. "/" & 
  178.  & "/" & 
  179.  & "/" & 
  180.  & "/" & 
  181. "/" & 
  182.  & "/" & 
  183.  & "/" & 
  184.  & "/" 
  185. "other" 
  186. =" & 
  187. x & "/" 
  188. optionalhandlers,
  189. notes 
  190. scores 
  191.     -- see enter 
  192.     -- Add 
  193. "notetaking"
  194. "bookmarks"
  195. "$Scripts$"
  196.     -- Set up 
  197.     --Tidy up
  198. exitnow
  199. makeNewBook
  200. 4errorcount
  201.  > 0 
  202. remoteSet o,f -- optionsfile,inputfile
  203. x"*" 
  204. getoptions o 
  205. "$Control$"
  206. P"OK"
  207. editing 
  208. itself
  209. createShell
  210. -- removes 
  211. shell" 
  212. H-1 -- must 
  213. backwards 
  214. are automatically renumbered
  215. deletepage i
  216. "d M y h24:
  217. j:sec" 
  218. "Created" 
  219. saveNewIDC
  220. extractFormats fbs -- creates a 
  221.  only
  222. ("List 
  223.  [* means 
  224. keepFormats 
  225. compiler,l,
  226.     -- deletes 
  227.  except those 
  228. Fretains 
  229. be assigned 
  230. 8containing 
  231. 4created
  232. 1 -- Pretend 
  233. we have just compiled
  234. H-1 -- 
  235. x"*" 
  236. xmember(
  237. minimize
  238.  i,l -- equiavalent 
  239. oneof()
  240. changePassword
  241. newPassword 
  242. changeExitPassword
  243. IDCpassword 
  244. "Old 
  245. >-- wrong 
  246. "New 
  247. "Repeat 
  248. >-- verification failed
  249. sysSuspendMessages 
  250. getOptions
  251. saveNewBook
  252. saveOptions
  253. changeCursor
  254. setupWindow
  255. fixBookScript
  256. makeNewBook
  257. deleteCompile
  258. remoteSet
  259. createShell
  260. setconstants
  261. saveNewIDC
  262. deletepage
  263. extractFormats
  264. enterBook
  265. keepFormats
  266. setoptions
  267. minimize
  268. changePassword
  269. setdefaults
  270. changeExitPassword
  271. newPassword
  272. sizePage
  273. exitnow
  274. filename
  275. centre
  276. member
  277. enterBook
  278. setupWindow
  279. filescripts
  280. Version
  281. utility.tbk
  282. reader
  283. filename
  284. setupWindow
  285. tbkwin.dll
  286. HorizontalDisplayRes
  287. VerticalDisplayRes
  288. HorizontalDisplayRes
  289. VerticalDisplayRes
  290. tbkwin.dll
  291. Screen resolution is
  292. Resolution
  293. gsizePage
  294. centre
  295. sizeToPage
  296. display
  297. centre
  298. sizePage
  299. Error
  300. in setting up page (IDC error:
  301. saveNewBook
  302. filename
  303. Name of new book
  304. Cancel
  305. changeCursor
  306. $Master$
  307. Label
  308. Label
  309. 7deleteCompile
  310. [fixBookScript
  311. newBook
  312. inputFile
  313. backgrounds
  314. remote
  315. destinationpath
  316. deleteCompile
  317. changeCursor
  318. selectPage
  319. clear
  320. compilePages
  321. setconstants
  322. amp &,lt <,gt >
  323. f0,f1,f2,f3,f4,f5,f6,f7,f8,f9
  324. h1,h2,h3,h4,h5
  325. header,body,title,caption,author,credits,date,doc,copyright,help
  326. $Master$
  327. localtags
  328. entities
  329. emphasis_tag
  330. list_tag
  331. item_tag
  332. active_tag
  333. note_tag
  334. dest_attr
  335. remark_tag
  336. para_tag
  337. blank_tag
  338. distractor_tag
  339. note_symbol
  340. noendreq
  341. components
  342. formats
  343. headings
  344. rogue
  345. close
  346. endchar
  347. setoptions
  348. Formats
  349. $Options$
  350. $Master$
  351. Formats
  352. $Options$
  353. Formats
  354. $Options$
  355. Formats
  356. $Options$
  357. Formats
  358. $Options$
  359. format
  360. $Options$
  361. Formats
  362. $Options$
  363. Shell
  364. Shell
  365. Formats
  366. setdefaults
  367. filename
  368. getOptions
  369. resourcesindex
  370. defaultfile
  371. destinationpath
  372. optionsFile
  373. formats
  374. setdefaults
  375. boxed
  376. italic
  377. unchanged
  378. newline
  379. bold,bold,bold,underline,underline
  380. uppercase,title,sentence,sentence,sentence
  381. blank,blank,blank,blank,newline
  382. blank,newline,space,space,space
  383. anchorstyle
  384. hstyle
  385. hcase
  386. hbefore
  387. hafter
  388. estyle
  389. ecase
  390. pstyle
  391. bullet
  392. getOptions
  393. bullet
  394. $TextOptions
  395. format
  396. $Options$
  397. hstyle
  398. hcase
  399. hbefore
  400. hafter
  401. estyle
  402. ecase
  403. pstyle
  404. bullet
  405. anchorstyle
  406. formats
  407. defaultfile
  408. resourcesindex
  409. destinationpath
  410. saveOptions
  411. other
  412. other=
  413. bullet
  414. $TextOptions$
  415. format
  416. hstyle
  417. hcase
  418. hbefore
  419. hafter
  420. estyle
  421. ecase
  422. pstyle
  423. bullet
  424. anchorstyle
  425. resourcesindex
  426. formats
  427. defaultfile
  428. subindex
  429. destinationpath
  430. changeCursor
  431. fixBookScript
  432. notes
  433. scores
  434. notetaking
  435. notes
  436. scores
  437. scores
  438. bookmarks
  439. bookmarks
  440. $Scripts$
  441. BookScript
  442. $Scripts$
  443. BookScript
  444. $Scripts$
  445. anchorstyle
  446. $Scripts$
  447. selectPage
  448. clear
  449. pVexitnow
  450. anchorstyle
  451. optionalhandlers
  452. newBook
  453. makeNewBook
  454. saveNewBook
  455. errorcount
  456. remoteSet
  457. getoptions
  458. $Control$
  459. buttonUp
  460. Compile
  461. makeNewBook
  462. defaultfile
  463. remote
  464. createShell
  465. Name of file for shell
  466. $Master$
  467. deletepage
  468. d M y h24:min:sec
  469. Created
  470. $Compile$
  471. pVexitnow
  472. saveNewIDC
  473. Name of file for new IDC
  474. pVexitnow
  475. deletepage
  476. selectPage
  477. clear
  478. extractFormats
  479. List the formats [* means all]
  480. keepFormats
  481. keepFormats
  482. Name of file to save in
  483. $Master$
  484. member
  485. deletepage
  486. deletepage
  487. pVexitnow
  488. created
  489. compiler
  490. minimize
  491. format
  492. $Options$
  493. member
  494. keepFormats
  495. formats
  496. member
  497. changePassword
  498. newPassword
  499. changeExitPassword
  500. newPassword
  501. newPassword
  502. IDCpassword
  503. ExitPassword
  504. Old Password
  505. New Password
  506. Repeat Password
  507. IDCpassword
  508. ExitPassword
  509. pVexitnow
  510. exitnow
  511. O+(E(E
  512. -- Standard handlers 
  513. the Interactive Document Compiler
  514. -- Handlers used 
  515. independently.
  516. setupWindow 
  517. B"filescripts"
  518. "Version" 
  519. path(
  520. & "utility.tbk"
  521. ~("\",f) 
  522. filename f
  523. ~("\",f) 
  524. Vi+1 
  525. -- Shared 
  526. display
  527.     -- VGA = 648 x 488 SVGA = 808 x 608
  528.     linkDLL "tbkwin.dll"
  529.         INT HorizontalDisplayRes()
  530. VerticalDisplayRes()
  531. 2es() 
  532.     unlinkDLL "
  533. "Screen resolution 
  534. " && h && "x" && v 
  535. "Resolution"
  536. sizePage "
  537. 480 -- 
  538.         -- full 
  539. fno title bar & no border
  540.         -- 
  541. -4, -24, 644, 484
  542.         -- 
  543. -4, -4, 644, 484
  544.         -- 
  545.         -- 
  546. 0, 0, 640, 480
  547. 600 -- 
  548.         -- 
  549. centred
  550. 76, 56, 724, 544
  551.         -- 
  552. screen
  553. E(h,v,640,480)
  554. d h,v,wh,wv
  555. (h-wh)/2-4
  556. (v-wv)/2-4
  557.     -- sizes 
  558. ensure that 
  559. /colour still fills 
  560. 12960,8640 -- 9.0
  561. x 6.0
  562. 12960,9040 -- 9.0
  563. x 6.0?
  564. "VGA"
  565. 9792,7200 -- 6.8
  566. x 5.0
  567. Error "
  568. setting up 
  569. (IDC error:" && p &&")"
  570. saveNewBook
  571. 4newBook,inputFile,backgrounds,remote,destinationpath
  572. ~(".",
  573. O & "
  574. _ & "\" & 
  575. ("Name 
  576. "Cancel" 
  577.     -- Setup 
  578. changeCursor
  579. "$Master$" 
  580. "Label" 
  581. x"$Common$" 
  582. --            
  583. deleteCompile
  584. fixBookScript
  585. 4compilePages
  586. selectPage
  587. setconstants
  588. 4formats,headings,rogue,
  589. ,close,endchar,ero,refc
  590. 4note_symbol,noendreq,components
  591. 4active_tag,note_tag,dest_attr,remark_tag,para_tag,blank_tag,distractor_tag
  592. 4emphasis_tag,list_tag,item_tag
  593. 4tags,entities
  594. "amp &,lt <,gt >"
  595. tthree 
  596.  should be given their correct SGML names
  597.     -- This 
  598. a value 
  599. p/can never occur 
  600. standard hypertext 
  601. "emp"
  602. "f0,f1,f2,f3,f4,f5,f6,f7,f8,f9"
  603. "h1,h2,h3,h4,h5"
  604. ,body,
  605. ,,credits,
  606. r,doc,copyright,help" & "," & 
  607.  & "," & 
  608. localtags 
  609. setoptions
  610. 4estyle,ecase,pstyle,bullet,anchorstyle,hstyle,hcase,hbefore,hafter
  611. 4resourcesindex,defaultfile,
  612. ,optionsFile
  613. "Formats" 
  614. "$Options$"
  615. b & CRLF 
  616.  > 0 
  617. "Shell"
  618. setdefaults
  619. ~(".",f)
  620. "\" & f & ".opt" 
  621. g